/* Redux可视化页面样式 */
.redux-visualizer-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
}

/* 页面头部 */
.page-header {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.page-header h1 {
  color: #4338ca;
  margin: 0 0 10px 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.subtitle {
  color: #6366f1;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 400;
}

/* 页面内容 */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* 介绍部分 */
.introduction {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.introduction h2 {
  color: #4338ca;
  margin-top: 0;
  font-size: 2rem;
}

.introduction p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4b5563;
}

/* 核心功能列表 */
.key-features {
  margin-top: 25px;
}

.key-features h3 {
  color: #6366f1;
  margin-bottom: 15px;
}

.key-features ul {
  list-style-type: none;
  padding: 0;
}

.key-features li {
  background: #f0f9ff;
  border-left: 4px solid #3b82f6;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
}

.key-features li strong {
  color: #1e40af;
}

/* 学习资源部分 */
.learning-resources {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.learning-resources h3 {
  color: #4338ca;
  margin-top: 0;
}

.resource-item {
  margin-bottom: 25px;
}

.resource-item:last-child {
  margin-bottom: 0;
}

.resource-item h4 {
  color: #6366f1;
  margin-bottom: 10px;
}

.resource-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
}

.resource-item code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Consolas', 'Monaco', monospace;
  color: #dc2626;
}

/* 页面底部 */
.page-footer {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  margin-top: 40px;
}

.page-footer p {
  color: #6b7280;
  margin: 0;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-header {
    padding: 30px 15px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .introduction,
  .learning-resources {
    padding: 20px;
  }
  
  .introduction h2 {
    font-size: 1.5rem;
  }
  
  .key-features li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .page-content {
    padding: 0 15px 30px;
  }
  
  .introduction p,
  .resource-item p {
    font-size: 0.95rem;
  }
}